<template>
	
	  <view class="user-manage">
	  	<view class="box-block">
			<view class="left">
				<image src="../../static/images/user/332325341备份 3@2x.png" mode=""></image>
			    <view class="info">
			    	<view class="t0">
			    		代理商管理
			    	</view>
					<view class="t1">
						方便快捷，一目了然
					</view>
			    </view>
			</view>
	  		<view class="right" @click="gotoAgent">
	  			<text>查看</text>
				<image src="../../static/images/user/返回备份 12@2x.png" mode=""></image>
	  		</view>
	  	</view>
		<view class="box-block">
			<view class="left">
				<image src="../../static/images/user/332325341备份 4@2x.png" mode=""></image>
			    <view class="info">
			    	<view class="t0">
			    		商家管理
			    	</view>
					<view class="t1">
						方便快捷，一目了然
					</view>
			    </view>
			</view>
			<view class="right" @click="gotoBusiness">
				<text>查看</text>
				<image src="../../static/images/user/返回备份 12@2x.png" mode=""></image>
			</view>
		</view>
	  </view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {

		},
		methods: {
			gotoAgent(){
				uni.navigateTo({
				  url: 'userList?type=1' // 用户管理
				});
			},
			gotoBusiness(){
				uni.navigateTo({
				  url: 'userList?type=2'  // 用户管理
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.user-manage{
		padding: 0 10px;
		.box-block{
			background: url('/static/images/user/编组 3备份 2@2x.png') no-repeat;
			background-size: 100% 100%;
			padding: 25px 21px;
			display: flex;
			align-items: center;
			justify-content: space-between;
			.left{
				display: flex;
				align-items: center;
				uni-image{
					width: 120rpx;
					height: 120rpx;
					
				}
				.info{
					margin-left: 18rpx;
					.t0{
						font-family: PingFangSC, PingFang SC;
						font-weight: 600;
						font-size: 28rpx;
						color: #000000;
						line-height: 40rpx;
						text-align: left;
						font-style: normal;
					}
					.t1{
						font-family: PingFangSC, PingFang SC;
						font-weight: 400;
						font-size: 24rpx;
						color: #666666;
						line-height: 34rpx;
						text-align: left;
						font-style: normal;
					}
				}
			}
			.right{
				background: #49A1FD;
				border-radius: 12px;
				display: flex;
				align-items: center;
				justify-content: center;
				padding: 2px 16px;
				uni-text{
					font-family: PingFangSC, PingFang SC;
					font-weight: 400;
					font-size: 28rpx;
					color: #FFFFFF;
					line-height: 40rpx;
					text-align: center;
					font-style: normal;
				}
				uni-image{
					width: 7px;
					height: 12px;
					margin-left: 4px;
				}
			}
		}
	}
</style>